﻿package mortal.game.proxy
{
    import Message.Game.*;
    import Message.Public.*;
    import mortal.mvc.core.*;

    public class TradeProxy extends Proxy
    {

        public function TradeProxy()
        {
            return;
        }// end function

        public function doApply(param1:SEntityId) : void
        {
            rmi.iTrade.doApply_async(new AMI_IBusiness_doApply(), param1);
            return;
        }// end function

        public function doOperation(param1:int, param2:String) : void
        {
            rmi.iTrade.doOperation_async(new AMI_IBusiness_doOperation(), EBusinessOperation.convert(param1), param2);
            return;
        }// end function

        public function updateItem(param1:String, param2:String, param3:int) : void
        {
            rmi.iTrade.updateItem_async(new AMI_IBusiness_updateItem(), param1, param2, param3);
            return;
        }// end function

        public function updateMoney(param1:String, param2:EPriceUnit, param3:int) : void
        {
            rmi.iTrade.updateMoney_async(new AMI_IBusiness_updateMoney(), param1, param2, param3);
            return;
        }// end function

    }
}
